{% extends "pythonems/bg_base.html" %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<!--body------start------>
<div class="crumbs neg non">>> 首页 >> 考试模块 >> 试卷管理 >> 新建试卷 >> 编辑试题列表 </div>
<div class="bg_body posi" name="body">
    <div class="space"></div>
    <div class="sub_hr"><div id="html_title">试卷名称 - A1列表</div><div></div></div>
    <div class="space"></div>
    
    <table class="new_question">
        <tr><input id="question_length" type="text" style="display:none"></input>
            <th rowspan="2">试题列表：</th>
            <td><select size="9" id="sub_list_select"></select></td>
        </tr>
        <tr>
            <td><input id="delete_select_item" class="button" type="submit" value="删除所选"></input>
                <input id="save_and_close" class="button" type="submit" value="提交试题列表"></input></td>
        </tr>
    </table>

    <div class="space"></div>
    <div class="sub_hr"><div>搜索</div><div></div></div>
    <div class="space"></div>
    
    <table class="question_search">
        <tr>
            <th>试题ID：</th>
            <td><input id="questin_id" type="text"></input></td>
            <th>关键字：</th>
            <td><input id="keyword" type="text"></input></td>
            <th>录入日期：</th>
            <td><input id="create_time" type="text"></input></td>
        </tr>
        <tr>
            <th>章节：</th>
            <td colspan="1">
                <input type="text" id="char_selection" ></input>
                <div id="zTreeContainer" >
                    <ul id="treeDemo" class="ztree"></ul>
                </div>
            </td>
            <th>录入人：</th>
            <td><input id="author" type="text" list="author_list"></input>
                <datalist id="author_list">
                    <option value="宝马">1</option>
                    <option value="福特">2</option>
                    <option value="沃尔沃">3</option>
                </datalist>
            </td>
            <th>难易度：</th>
            <td>
                <select id="level">
                    <option value="0"></option>
                    <option value="1">易</option>
                    <option value="2">中</option>
                    <option value="3">难</option>
                </select>
            </td>
        </tr>
        <tr style="display:none">
            <th>科目：</th>
            <td><select id="major_selection"></select></td>
            <th>试题类型：</th>
            <td>
                <select id="category">
                        <option value="1">A1</option>
                        <option value="2">A2</option>
                        <option value="3">B1</option>
                        <option value="4">A3</option>
                        <option value="5">A4</option>
                </select>
            </td>
            <th></th>
            <td>
            </td>
        </tr>
        <tr>
            <th></th><td colsan="5"><input id="search_submit" class="button" type="submit" value="搜索"></input></td><td colsan="4"></td>
        </tr>
    </table>
    <div class="space"></div>
    <table id ="result_list" class="question_list">
        <tr>
            <th><input type="checkbox" id="check_all" name="search_list_checkbox"></input></th>
            <th>ID</th>
            <th>试题类型</th>
            <th>试题内容</th>
            <th>试题数</th>
            <th>录入人</th>
            <th>录入时间</th>
            <th>难度</th>
            <th>操作</th>
        </tr>
        <tr>
            <td colspan="9" style="height:180px;"></td>
        </tr>
    </table>

    <table class="question_search">
        <tr>
            <td><input class="button" id="add_to_list" type="submit" value="添加所选到试题列表"></input></td>
            <th></th>
            <th></th>
            <th></th>
            <th></th>
            <th></th>
            <th></th>
            <th></th>
        </tr>
    </table>
    <div class="space"></div>
</div>
<!--body------end------> 
{% endblock %}